package com.lesso.lpq.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lpq.sunflower.model.EmployeeDevice;
import com.lesso.lpq.sunflower.pojo.dto.EmployeeDeviceDTO;
import com.lesso.lpq.sunflower.pojo.dto.EmployeeDeviceQueryDTO;
import com.lesso.lpq.sunflower.pojo.vo.EmployeeDeviceVO;

/**
 * @ClassName : EmployeeDeviceRepository
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 17:12
 */
public interface EmployeeDeviceRepository {
    Long save(EmployeeDevice employeeDevice);

    Page<EmployeeDeviceVO> getPageList(EmployeeDeviceQueryDTO dto);

    Page<EmployeeDeviceVO> getCustomPageList(EmployeeDeviceQueryDTO dto);

    void removeById(Long id);

    void updateById(EmployeeDeviceDTO dto);

    EmployeeDeviceVO getByEmployeeId(String employeeId);
}
